# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: proto/markets.proto
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_database
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from . import mwitkow_goprotovalidators_validator_pb2 as github_dot_com_dot_mwitkow_dot_go__proto__validators_dot_validator__pb2


DESCRIPTOR = _descriptor.FileDescriptor(
  name='proto/markets.proto',
  package='vega',
  syntax='proto3',
  serialized_options=b'\n\024io.vegaprotocol.vegaZ\037code.vegaprotocol.io/vega/proto',
  create_key=_descriptor._internal_create_key,
  serialized_pb=b'\n\x13proto/markets.proto\x12\x04vega\x1a\x36github.com/mwitkow/go-proto-validators/validator.proto\"3\n\x0f\x41uctionDuration\x12\x10\n\x08\x64uration\x18\x01 \x01(\x03\x12\x0e\n\x06volume\x18\x02 \x01(\x04\"%\n\x11\x43ontinuousTrading\x12\x10\n\x08tickSize\x18\x01 \x01(\t\"H\n\x0f\x44iscreteTrading\x12#\n\ndurationNs\x18\x01 \x01(\x03\x42\x0f\xe2\xdf\x1f\x0b\x10\x00\x18\x80\x80\x88\xba\x90\xad\xcd\x04\x12\x10\n\x08tickSize\x18\x02 \x01(\t\"a\n\x06\x46uture\x12\x10\n\x08maturity\x18\x01 \x01(\t\x12\r\n\x05\x61sset\x18\x02 \x01(\t\x12,\n\rethereumEvent\x18\x64 \x01(\x0b\x32\x13.vega.EthereumEventH\x00\x42\x08\n\x06oracle\"A\n\rEthereumEvent\x12\x12\n\ncontractID\x18\x01 \x01(\t\x12\r\n\x05\x65vent\x18\x02 \x01(\t\x12\r\n\x05value\x18\x03 \x01(\x04\"\"\n\x12InstrumentMetadata\x12\x0c\n\x04tags\x18\x01 \x03(\t\"\xca\x01\n\nInstrument\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04\x63ode\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\x10\n\x08\x62\x61seName\x18\x04 \x01(\t\x12\x11\n\tquoteName\x18\x05 \x01(\t\x12*\n\x08metadata\x18\x06 \x01(\x0b\x32\x18.vega.InstrumentMetadata\x12\x18\n\x10initialMarkPrice\x18\x07 \x01(\x04\x12\x1e\n\x06\x66uture\x18\x64 \x01(\x0b\x32\x0c.vega.FutureH\x00\x42\t\n\x07product\"l\n\x12LogNormalRiskModel\x12\x1d\n\x15riskAversionParameter\x18\x01 \x01(\x01\x12\x0b\n\x03tau\x18\x02 \x01(\x01\x12*\n\x06params\x18\x03 \x01(\x0b\x32\x1a.vega.LogNormalModelParams\"<\n\x14LogNormalModelParams\x12\n\n\x02mu\x18\x01 \x01(\x01\x12\t\n\x01r\x18\x02 \x01(\x01\x12\r\n\x05sigma\x18\x03 \x01(\x01\":\n\x0fSimpleRiskModel\x12\'\n\x06params\x18\x01 \x01(\x0b\x32\x17.vega.SimpleModelParams\"\x82\x01\n\x11SimpleModelParams\x12\x12\n\nfactorLong\x18\x01 \x01(\x01\x12\x13\n\x0b\x66\x61\x63torShort\x18\x02 \x01(\x01\x12 \n\tmaxMoveUp\x18\x03 \x01(\x01\x42\r\xe2\xdf\x1f\tI\x00\x00\x00\x00\x00\x00\x00\x00\x12\"\n\x0bminMoveDown\x18\x04 \x01(\x01\x42\r\xe2\xdf\x1f\tQ\x00\x00\x00\x00\x00\x00\x00\x00\"W\n\x0eScalingFactors\x12\x13\n\x0bsearchLevel\x18\x01 \x01(\x01\x12\x15\n\rinitialMargin\x18\x02 \x01(\x01\x12\x19\n\x11\x63ollateralRelease\x18\x03 \x01(\x01\"@\n\x10MarginCalculator\x12,\n\x0escalingFactors\x18\x01 \x01(\x0b\x32\x14.vega.ScalingFactors\"\xe3\x01\n\x12TradableInstrument\x12$\n\ninstrument\x18\x01 \x01(\x0b\x32\x10.vega.Instrument\x12\x30\n\x10marginCalculator\x18\x02 \x01(\x0b\x32\x16.vega.MarginCalculator\x12\x36\n\x12logNormalRiskModel\x18\x64 \x01(\x0b\x32\x18.vega.LogNormalRiskModelH\x00\x12\x30\n\x0fsimpleRiskModel\x18\x65 \x01(\x0b\x32\x15.vega.SimpleRiskModelH\x00\x42\x0b\n\triskModel\"O\n\nFeeFactors\x12\x10\n\x08makerFee\x18\x01 \x01(\t\x12\x19\n\x11infrastructureFee\x18\x02 \x01(\t\x12\x14\n\x0cliquidityFee\x18\x03 \x01(\t\")\n\x04\x46\x65\x65s\x12!\n\x07\x66\x61\x63tors\x18\x01 \x01(\x0b\x32\x10.vega.FeeFactors\"\x83\x01\n\x19PriceMonitoringParameters\x12\x17\n\x07horizon\x18\x01 \x01(\x03\x42\x06\xe2\xdf\x1f\x02\x10\x00\x12+\n\x0bprobability\x18\x02 \x01(\x01\x42\x16\xe2\xdf\x1f\x12\x31\x00\x00\x00\x00\x00\x00\x00\x00\x39\x00\x00\x00\x00\x00\x00\xf0?\x12 \n\x10\x61uctionExtension\x18\x03 \x01(\x03\x42\x06\xe2\xdf\x1f\x02\x10\x00\"v\n\x17PriceMonitoringSettings\x12\x42\n\x19priceMonitoringParameters\x18\x01 \x03(\x0b\x32\x1f.vega.PriceMonitoringParameters\x12\x17\n\x0fupdateFrequency\x18\x02 \x01(\x03\"\xd3\x02\n\x06Market\x12\n\n\x02id\x18\x01 \x01(\t\x12\x34\n\x12tradableInstrument\x18\x02 \x01(\x0b\x32\x18.vega.TradableInstrument\x12\x15\n\rdecimalPlaces\x18\x03 \x01(\x04\x12\x18\n\x04\x66\x65\x65s\x18\x04 \x01(\x0b\x32\n.vega.Fees\x12-\n\x0eopeningAuction\x18\x05 \x01(\x0b\x32\x15.vega.AuctionDuration\x12-\n\ncontinuous\x18\x64 \x01(\x0b\x32\x17.vega.ContinuousTradingH\x00\x12)\n\x08\x64iscrete\x18\x65 \x01(\x0b\x32\x15.vega.DiscreteTradingH\x00\x12>\n\x17priceMonitoringSettings\x18\x06 \x01(\x0b\x32\x1d.vega.PriceMonitoringSettingsB\r\n\x0btradingModeB7\n\x14io.vegaprotocol.vegaZ\x1f\x63ode.vegaprotocol.io/vega/protob\x06proto3'
  ,
  dependencies=[github_dot_com_dot_mwitkow_dot_go__proto__validators_dot_validator__pb2.DESCRIPTOR,])




_AUCTIONDURATION = _descriptor.Descriptor(
  name='AuctionDuration',
  full_name='vega.AuctionDuration',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='duration', full_name='vega.AuctionDuration.duration', index=0,
      number=1, type=3, cpp_type=2, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='volume', full_name='vega.AuctionDuration.volume', index=1,
      number=2, type=4, cpp_type=4, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=85,
  serialized_end=136,
)


_CONTINUOUSTRADING = _descriptor.Descriptor(
  name='ContinuousTrading',
  full_name='vega.ContinuousTrading',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='tickSize', full_name='vega.ContinuousTrading.tickSize', index=0,
      number=1, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=138,
  serialized_end=175,
)


_DISCRETETRADING = _descriptor.Descriptor(
  name='DiscreteTrading',
  full_name='vega.DiscreteTrading',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='durationNs', full_name='vega.DiscreteTrading.durationNs', index=0,
      number=1, type=3, cpp_type=2, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=b'\342\337\037\013\020\000\030\200\200\210\272\220\255\315\004', file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='tickSize', full_name='vega.DiscreteTrading.tickSize', index=1,
      number=2, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=177,
  serialized_end=249,
)


_FUTURE = _descriptor.Descriptor(
  name='Future',
  full_name='vega.Future',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='maturity', full_name='vega.Future.maturity', index=0,
      number=1, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='asset', full_name='vega.Future.asset', index=1,
      number=2, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='ethereumEvent', full_name='vega.Future.ethereumEvent', index=2,
      number=100, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
    _descriptor.OneofDescriptor(
      name='oracle', full_name='vega.Future.oracle',
      index=0, containing_type=None,
      create_key=_descriptor._internal_create_key,
    fields=[]),
  ],
  serialized_start=251,
  serialized_end=348,
)


_ETHEREUMEVENT = _descriptor.Descriptor(
  name='EthereumEvent',
  full_name='vega.EthereumEvent',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='contractID', full_name='vega.EthereumEvent.contractID', index=0,
      number=1, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='event', full_name='vega.EthereumEvent.event', index=1,
      number=2, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='value', full_name='vega.EthereumEvent.value', index=2,
      number=3, type=4, cpp_type=4, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=350,
  serialized_end=415,
)


_INSTRUMENTMETADATA = _descriptor.Descriptor(
  name='InstrumentMetadata',
  full_name='vega.InstrumentMetadata',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='tags', full_name='vega.InstrumentMetadata.tags', index=0,
      number=1, type=9, cpp_type=9, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=417,
  serialized_end=451,
)


_INSTRUMENT = _descriptor.Descriptor(
  name='Instrument',
  full_name='vega.Instrument',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='id', full_name='vega.Instrument.id', index=0,
      number=1, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='code', full_name='vega.Instrument.code', index=1,
      number=2, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='name', full_name='vega.Instrument.name', index=2,
      number=3, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='baseName', full_name='vega.Instrument.baseName', index=3,
      number=4, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='quoteName', full_name='vega.Instrument.quoteName', index=4,
      number=5, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='metadata', full_name='vega.Instrument.metadata', index=5,
      number=6, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='initialMarkPrice', full_name='vega.Instrument.initialMarkPrice', index=6,
      number=7, type=4, cpp_type=4, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='future', full_name='vega.Instrument.future', index=7,
      number=100, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
    _descriptor.OneofDescriptor(
      name='product', full_name='vega.Instrument.product',
      index=0, containing_type=None,
      create_key=_descriptor._internal_create_key,
    fields=[]),
  ],
  serialized_start=454,
  serialized_end=656,
)


_LOGNORMALRISKMODEL = _descriptor.Descriptor(
  name='LogNormalRiskModel',
  full_name='vega.LogNormalRiskModel',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='riskAversionParameter', full_name='vega.LogNormalRiskModel.riskAversionParameter', index=0,
      number=1, type=1, cpp_type=5, label=1,
      has_default_value=False, default_value=float(0),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='tau', full_name='vega.LogNormalRiskModel.tau', index=1,
      number=2, type=1, cpp_type=5, label=1,
      has_default_value=False, default_value=float(0),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='params', full_name='vega.LogNormalRiskModel.params', index=2,
      number=3, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=658,
  serialized_end=766,
)


_LOGNORMALMODELPARAMS = _descriptor.Descriptor(
  name='LogNormalModelParams',
  full_name='vega.LogNormalModelParams',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='mu', full_name='vega.LogNormalModelParams.mu', index=0,
      number=1, type=1, cpp_type=5, label=1,
      has_default_value=False, default_value=float(0),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='r', full_name='vega.LogNormalModelParams.r', index=1,
      number=2, type=1, cpp_type=5, label=1,
      has_default_value=False, default_value=float(0),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='sigma', full_name='vega.LogNormalModelParams.sigma', index=2,
      number=3, type=1, cpp_type=5, label=1,
      has_default_value=False, default_value=float(0),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=768,
  serialized_end=828,
)


_SIMPLERISKMODEL = _descriptor.Descriptor(
  name='SimpleRiskModel',
  full_name='vega.SimpleRiskModel',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='params', full_name='vega.SimpleRiskModel.params', index=0,
      number=1, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=830,
  serialized_end=888,
)


_SIMPLEMODELPARAMS = _descriptor.Descriptor(
  name='SimpleModelParams',
  full_name='vega.SimpleModelParams',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='factorLong', full_name='vega.SimpleModelParams.factorLong', index=0,
      number=1, type=1, cpp_type=5, label=1,
      has_default_value=False, default_value=float(0),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='factorShort', full_name='vega.SimpleModelParams.factorShort', index=1,
      number=2, type=1, cpp_type=5, label=1,
      has_default_value=False, default_value=float(0),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='maxMoveUp', full_name='vega.SimpleModelParams.maxMoveUp', index=2,
      number=3, type=1, cpp_type=5, label=1,
      has_default_value=False, default_value=float(0),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=b'\342\337\037\tI\000\000\000\000\000\000\000\000', file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='minMoveDown', full_name='vega.SimpleModelParams.minMoveDown', index=3,
      number=4, type=1, cpp_type=5, label=1,
      has_default_value=False, default_value=float(0),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=b'\342\337\037\tQ\000\000\000\000\000\000\000\000', file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=891,
  serialized_end=1021,
)


_SCALINGFACTORS = _descriptor.Descriptor(
  name='ScalingFactors',
  full_name='vega.ScalingFactors',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='searchLevel', full_name='vega.ScalingFactors.searchLevel', index=0,
      number=1, type=1, cpp_type=5, label=1,
      has_default_value=False, default_value=float(0),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='initialMargin', full_name='vega.ScalingFactors.initialMargin', index=1,
      number=2, type=1, cpp_type=5, label=1,
      has_default_value=False, default_value=float(0),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='collateralRelease', full_name='vega.ScalingFactors.collateralRelease', index=2,
      number=3, type=1, cpp_type=5, label=1,
      has_default_value=False, default_value=float(0),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=1023,
  serialized_end=1110,
)


_MARGINCALCULATOR = _descriptor.Descriptor(
  name='MarginCalculator',
  full_name='vega.MarginCalculator',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='scalingFactors', full_name='vega.MarginCalculator.scalingFactors', index=0,
      number=1, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=1112,
  serialized_end=1176,
)


_TRADABLEINSTRUMENT = _descriptor.Descriptor(
  name='TradableInstrument',
  full_name='vega.TradableInstrument',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='instrument', full_name='vega.TradableInstrument.instrument', index=0,
      number=1, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='marginCalculator', full_name='vega.TradableInstrument.marginCalculator', index=1,
      number=2, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='logNormalRiskModel', full_name='vega.TradableInstrument.logNormalRiskModel', index=2,
      number=100, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='simpleRiskModel', full_name='vega.TradableInstrument.simpleRiskModel', index=3,
      number=101, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
    _descriptor.OneofDescriptor(
      name='riskModel', full_name='vega.TradableInstrument.riskModel',
      index=0, containing_type=None,
      create_key=_descriptor._internal_create_key,
    fields=[]),
  ],
  serialized_start=1179,
  serialized_end=1406,
)


_FEEFACTORS = _descriptor.Descriptor(
  name='FeeFactors',
  full_name='vega.FeeFactors',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='makerFee', full_name='vega.FeeFactors.makerFee', index=0,
      number=1, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='infrastructureFee', full_name='vega.FeeFactors.infrastructureFee', index=1,
      number=2, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='liquidityFee', full_name='vega.FeeFactors.liquidityFee', index=2,
      number=3, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=1408,
  serialized_end=1487,
)


_FEES = _descriptor.Descriptor(
  name='Fees',
  full_name='vega.Fees',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='factors', full_name='vega.Fees.factors', index=0,
      number=1, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=1489,
  serialized_end=1530,
)


_PRICEMONITORINGPARAMETERS = _descriptor.Descriptor(
  name='PriceMonitoringParameters',
  full_name='vega.PriceMonitoringParameters',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='horizon', full_name='vega.PriceMonitoringParameters.horizon', index=0,
      number=1, type=3, cpp_type=2, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=b'\342\337\037\002\020\000', file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='probability', full_name='vega.PriceMonitoringParameters.probability', index=1,
      number=2, type=1, cpp_type=5, label=1,
      has_default_value=False, default_value=float(0),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=b'\342\337\037\0221\000\000\000\000\000\000\000\0009\000\000\000\000\000\000\360?', file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='auctionExtension', full_name='vega.PriceMonitoringParameters.auctionExtension', index=2,
      number=3, type=3, cpp_type=2, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=b'\342\337\037\002\020\000', file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=1533,
  serialized_end=1664,
)


_PRICEMONITORINGSETTINGS = _descriptor.Descriptor(
  name='PriceMonitoringSettings',
  full_name='vega.PriceMonitoringSettings',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='priceMonitoringParameters', full_name='vega.PriceMonitoringSettings.priceMonitoringParameters', index=0,
      number=1, type=11, cpp_type=10, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='updateFrequency', full_name='vega.PriceMonitoringSettings.updateFrequency', index=1,
      number=2, type=3, cpp_type=2, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=1666,
  serialized_end=1784,
)


_MARKET = _descriptor.Descriptor(
  name='Market',
  full_name='vega.Market',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='id', full_name='vega.Market.id', index=0,
      number=1, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='tradableInstrument', full_name='vega.Market.tradableInstrument', index=1,
      number=2, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='decimalPlaces', full_name='vega.Market.decimalPlaces', index=2,
      number=3, type=4, cpp_type=4, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='fees', full_name='vega.Market.fees', index=3,
      number=4, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='openingAuction', full_name='vega.Market.openingAuction', index=4,
      number=5, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='continuous', full_name='vega.Market.continuous', index=5,
      number=100, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='discrete', full_name='vega.Market.discrete', index=6,
      number=101, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='priceMonitoringSettings', full_name='vega.Market.priceMonitoringSettings', index=7,
      number=6, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
    _descriptor.OneofDescriptor(
      name='tradingMode', full_name='vega.Market.tradingMode',
      index=0, containing_type=None,
      create_key=_descriptor._internal_create_key,
    fields=[]),
  ],
  serialized_start=1787,
  serialized_end=2126,
)

_FUTURE.fields_by_name['ethereumEvent'].message_type = _ETHEREUMEVENT
_FUTURE.oneofs_by_name['oracle'].fields.append(
  _FUTURE.fields_by_name['ethereumEvent'])
_FUTURE.fields_by_name['ethereumEvent'].containing_oneof = _FUTURE.oneofs_by_name['oracle']
_INSTRUMENT.fields_by_name['metadata'].message_type = _INSTRUMENTMETADATA
_INSTRUMENT.fields_by_name['future'].message_type = _FUTURE
_INSTRUMENT.oneofs_by_name['product'].fields.append(
  _INSTRUMENT.fields_by_name['future'])
_INSTRUMENT.fields_by_name['future'].containing_oneof = _INSTRUMENT.oneofs_by_name['product']
_LOGNORMALRISKMODEL.fields_by_name['params'].message_type = _LOGNORMALMODELPARAMS
_SIMPLERISKMODEL.fields_by_name['params'].message_type = _SIMPLEMODELPARAMS
_MARGINCALCULATOR.fields_by_name['scalingFactors'].message_type = _SCALINGFACTORS
_TRADABLEINSTRUMENT.fields_by_name['instrument'].message_type = _INSTRUMENT
_TRADABLEINSTRUMENT.fields_by_name['marginCalculator'].message_type = _MARGINCALCULATOR
_TRADABLEINSTRUMENT.fields_by_name['logNormalRiskModel'].message_type = _LOGNORMALRISKMODEL
_TRADABLEINSTRUMENT.fields_by_name['simpleRiskModel'].message_type = _SIMPLERISKMODEL
_TRADABLEINSTRUMENT.oneofs_by_name['riskModel'].fields.append(
  _TRADABLEINSTRUMENT.fields_by_name['logNormalRiskModel'])
_TRADABLEINSTRUMENT.fields_by_name['logNormalRiskModel'].containing_oneof = _TRADABLEINSTRUMENT.oneofs_by_name['riskModel']
_TRADABLEINSTRUMENT.oneofs_by_name['riskModel'].fields.append(
  _TRADABLEINSTRUMENT.fields_by_name['simpleRiskModel'])
_TRADABLEINSTRUMENT.fields_by_name['simpleRiskModel'].containing_oneof = _TRADABLEINSTRUMENT.oneofs_by_name['riskModel']
_FEES.fields_by_name['factors'].message_type = _FEEFACTORS
_PRICEMONITORINGSETTINGS.fields_by_name['priceMonitoringParameters'].message_type = _PRICEMONITORINGPARAMETERS
_MARKET.fields_by_name['tradableInstrument'].message_type = _TRADABLEINSTRUMENT
_MARKET.fields_by_name['fees'].message_type = _FEES
_MARKET.fields_by_name['openingAuction'].message_type = _AUCTIONDURATION
_MARKET.fields_by_name['continuous'].message_type = _CONTINUOUSTRADING
_MARKET.fields_by_name['discrete'].message_type = _DISCRETETRADING
_MARKET.fields_by_name['priceMonitoringSettings'].message_type = _PRICEMONITORINGSETTINGS
_MARKET.oneofs_by_name['tradingMode'].fields.append(
  _MARKET.fields_by_name['continuous'])
_MARKET.fields_by_name['continuous'].containing_oneof = _MARKET.oneofs_by_name['tradingMode']
_MARKET.oneofs_by_name['tradingMode'].fields.append(
  _MARKET.fields_by_name['discrete'])
_MARKET.fields_by_name['discrete'].containing_oneof = _MARKET.oneofs_by_name['tradingMode']
DESCRIPTOR.message_types_by_name['AuctionDuration'] = _AUCTIONDURATION
DESCRIPTOR.message_types_by_name['ContinuousTrading'] = _CONTINUOUSTRADING
DESCRIPTOR.message_types_by_name['DiscreteTrading'] = _DISCRETETRADING
DESCRIPTOR.message_types_by_name['Future'] = _FUTURE
DESCRIPTOR.message_types_by_name['EthereumEvent'] = _ETHEREUMEVENT
DESCRIPTOR.message_types_by_name['InstrumentMetadata'] = _INSTRUMENTMETADATA
DESCRIPTOR.message_types_by_name['Instrument'] = _INSTRUMENT
DESCRIPTOR.message_types_by_name['LogNormalRiskModel'] = _LOGNORMALRISKMODEL
DESCRIPTOR.message_types_by_name['LogNormalModelParams'] = _LOGNORMALMODELPARAMS
DESCRIPTOR.message_types_by_name['SimpleRiskModel'] = _SIMPLERISKMODEL
DESCRIPTOR.message_types_by_name['SimpleModelParams'] = _SIMPLEMODELPARAMS
DESCRIPTOR.message_types_by_name['ScalingFactors'] = _SCALINGFACTORS
DESCRIPTOR.message_types_by_name['MarginCalculator'] = _MARGINCALCULATOR
DESCRIPTOR.message_types_by_name['TradableInstrument'] = _TRADABLEINSTRUMENT
DESCRIPTOR.message_types_by_name['FeeFactors'] = _FEEFACTORS
DESCRIPTOR.message_types_by_name['Fees'] = _FEES
DESCRIPTOR.message_types_by_name['PriceMonitoringParameters'] = _PRICEMONITORINGPARAMETERS
DESCRIPTOR.message_types_by_name['PriceMonitoringSettings'] = _PRICEMONITORINGSETTINGS
DESCRIPTOR.message_types_by_name['Market'] = _MARKET
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

AuctionDuration = _reflection.GeneratedProtocolMessageType('AuctionDuration', (_message.Message,), {
  'DESCRIPTOR' : _AUCTIONDURATION,
  '__module__' : 'proto.markets_pb2'
  # @@protoc_insertion_point(class_scope:vega.AuctionDuration)
  })
_sym_db.RegisterMessage(AuctionDuration)

ContinuousTrading = _reflection.GeneratedProtocolMessageType('ContinuousTrading', (_message.Message,), {
  'DESCRIPTOR' : _CONTINUOUSTRADING,
  '__module__' : 'proto.markets_pb2'
  # @@protoc_insertion_point(class_scope:vega.ContinuousTrading)
  })
_sym_db.RegisterMessage(ContinuousTrading)

DiscreteTrading = _reflection.GeneratedProtocolMessageType('DiscreteTrading', (_message.Message,), {
  'DESCRIPTOR' : _DISCRETETRADING,
  '__module__' : 'proto.markets_pb2'
  # @@protoc_insertion_point(class_scope:vega.DiscreteTrading)
  })
_sym_db.RegisterMessage(DiscreteTrading)

Future = _reflection.GeneratedProtocolMessageType('Future', (_message.Message,), {
  'DESCRIPTOR' : _FUTURE,
  '__module__' : 'proto.markets_pb2'
  # @@protoc_insertion_point(class_scope:vega.Future)
  })
_sym_db.RegisterMessage(Future)

EthereumEvent = _reflection.GeneratedProtocolMessageType('EthereumEvent', (_message.Message,), {
  'DESCRIPTOR' : _ETHEREUMEVENT,
  '__module__' : 'proto.markets_pb2'
  # @@protoc_insertion_point(class_scope:vega.EthereumEvent)
  })
_sym_db.RegisterMessage(EthereumEvent)

InstrumentMetadata = _reflection.GeneratedProtocolMessageType('InstrumentMetadata', (_message.Message,), {
  'DESCRIPTOR' : _INSTRUMENTMETADATA,
  '__module__' : 'proto.markets_pb2'
  # @@protoc_insertion_point(class_scope:vega.InstrumentMetadata)
  })
_sym_db.RegisterMessage(InstrumentMetadata)

Instrument = _reflection.GeneratedProtocolMessageType('Instrument', (_message.Message,), {
  'DESCRIPTOR' : _INSTRUMENT,
  '__module__' : 'proto.markets_pb2'
  # @@protoc_insertion_point(class_scope:vega.Instrument)
  })
_sym_db.RegisterMessage(Instrument)

LogNormalRiskModel = _reflection.GeneratedProtocolMessageType('LogNormalRiskModel', (_message.Message,), {
  'DESCRIPTOR' : _LOGNORMALRISKMODEL,
  '__module__' : 'proto.markets_pb2'
  # @@protoc_insertion_point(class_scope:vega.LogNormalRiskModel)
  })
_sym_db.RegisterMessage(LogNormalRiskModel)

LogNormalModelParams = _reflection.GeneratedProtocolMessageType('LogNormalModelParams', (_message.Message,), {
  'DESCRIPTOR' : _LOGNORMALMODELPARAMS,
  '__module__' : 'proto.markets_pb2'
  # @@protoc_insertion_point(class_scope:vega.LogNormalModelParams)
  })
_sym_db.RegisterMessage(LogNormalModelParams)

SimpleRiskModel = _reflection.GeneratedProtocolMessageType('SimpleRiskModel', (_message.Message,), {
  'DESCRIPTOR' : _SIMPLERISKMODEL,
  '__module__' : 'proto.markets_pb2'
  # @@protoc_insertion_point(class_scope:vega.SimpleRiskModel)
  })
_sym_db.RegisterMessage(SimpleRiskModel)

SimpleModelParams = _reflection.GeneratedProtocolMessageType('SimpleModelParams', (_message.Message,), {
  'DESCRIPTOR' : _SIMPLEMODELPARAMS,
  '__module__' : 'proto.markets_pb2'
  # @@protoc_insertion_point(class_scope:vega.SimpleModelParams)
  })
_sym_db.RegisterMessage(SimpleModelParams)

ScalingFactors = _reflection.GeneratedProtocolMessageType('ScalingFactors', (_message.Message,), {
  'DESCRIPTOR' : _SCALINGFACTORS,
  '__module__' : 'proto.markets_pb2'
  # @@protoc_insertion_point(class_scope:vega.ScalingFactors)
  })
_sym_db.RegisterMessage(ScalingFactors)

MarginCalculator = _reflection.GeneratedProtocolMessageType('MarginCalculator', (_message.Message,), {
  'DESCRIPTOR' : _MARGINCALCULATOR,
  '__module__' : 'proto.markets_pb2'
  # @@protoc_insertion_point(class_scope:vega.MarginCalculator)
  })
_sym_db.RegisterMessage(MarginCalculator)

TradableInstrument = _reflection.GeneratedProtocolMessageType('TradableInstrument', (_message.Message,), {
  'DESCRIPTOR' : _TRADABLEINSTRUMENT,
  '__module__' : 'proto.markets_pb2'
  # @@protoc_insertion_point(class_scope:vega.TradableInstrument)
  })
_sym_db.RegisterMessage(TradableInstrument)

FeeFactors = _reflection.GeneratedProtocolMessageType('FeeFactors', (_message.Message,), {
  'DESCRIPTOR' : _FEEFACTORS,
  '__module__' : 'proto.markets_pb2'
  # @@protoc_insertion_point(class_scope:vega.FeeFactors)
  })
_sym_db.RegisterMessage(FeeFactors)

Fees = _reflection.GeneratedProtocolMessageType('Fees', (_message.Message,), {
  'DESCRIPTOR' : _FEES,
  '__module__' : 'proto.markets_pb2'
  # @@protoc_insertion_point(class_scope:vega.Fees)
  })
_sym_db.RegisterMessage(Fees)

PriceMonitoringParameters = _reflection.GeneratedProtocolMessageType('PriceMonitoringParameters', (_message.Message,), {
  'DESCRIPTOR' : _PRICEMONITORINGPARAMETERS,
  '__module__' : 'proto.markets_pb2'
  # @@protoc_insertion_point(class_scope:vega.PriceMonitoringParameters)
  })
_sym_db.RegisterMessage(PriceMonitoringParameters)

PriceMonitoringSettings = _reflection.GeneratedProtocolMessageType('PriceMonitoringSettings', (_message.Message,), {
  'DESCRIPTOR' : _PRICEMONITORINGSETTINGS,
  '__module__' : 'proto.markets_pb2'
  # @@protoc_insertion_point(class_scope:vega.PriceMonitoringSettings)
  })
_sym_db.RegisterMessage(PriceMonitoringSettings)

Market = _reflection.GeneratedProtocolMessageType('Market', (_message.Message,), {
  'DESCRIPTOR' : _MARKET,
  '__module__' : 'proto.markets_pb2'
  # @@protoc_insertion_point(class_scope:vega.Market)
  })
_sym_db.RegisterMessage(Market)


DESCRIPTOR._options = None
_DISCRETETRADING.fields_by_name['durationNs']._options = None
_SIMPLEMODELPARAMS.fields_by_name['maxMoveUp']._options = None
_SIMPLEMODELPARAMS.fields_by_name['minMoveDown']._options = None
_PRICEMONITORINGPARAMETERS.fields_by_name['horizon']._options = None
_PRICEMONITORINGPARAMETERS.fields_by_name['probability']._options = None
_PRICEMONITORINGPARAMETERS.fields_by_name['auctionExtension']._options = None
# @@protoc_insertion_point(module_scope)
